package task1;

import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 东莞呵呵
 * Date:2022-06-09
 * Time:14:28
 */
public class SoftwareCompetition {
    public static void main(String[] args) {
        Team teams[]=new Team[5];
        Scanner scanner=new Scanner(System.in);
        for (int i = 0; i < teams.length; i++) {
            teams[i]=new Team();
            teams[i].setNumberOfMember(i+1);
            System.out.println("请输入队伍名");
            teams[i].setName(scanner.nextLine());
            System.out.println("请输入作品说明");
            teams[i].setIntroduction(scanner.nextLine());
        }

        for (int i = 0; i < teams.length; i++) {
            System.out.println(teams[i]);
        }
    }
}
